<?php

// tzz个人临时顶一下的key
//$key = '426BZ-2QDYR-QX3WX-WCOCA-Y2BTE-YLBMY';

$key = 'NPEBZ-MIL6J-ZWOFB-FNGUB-EXNFZ-ZGF4Z';

return [
    //'getAreaUrl' => 'http://api.map.baidu.com/geocoder?location=%s,%s&output=json',
    'getAreaUrl'        => 'https://apis.map.qq.com/ws/geocoder/v1/?location=%s,%s&key=' . $key . '&get_poi=1',
    'getAreaUrlGaoDeV3' => 'https://restapi.amap.com/v3/geocode/regeo?key=%s&location=%s,%s',
    'mapImage'          => 'https://restapi.amap.com/v3/staticmap?location=%s,%s&zoom=15&scale=2&size=%s*%s&labels=%s,0,1,72,0xFF3030,0xffffff:%s,%s&markers=-1,https://a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png,0:%s,%s&key=%s',
    'geocodeRegeo'      => "https://restapi.amap.com/v3/geocode/regeo",
    'amapGetDistrictByLatLng' => 'https://restapi.amap.com/v3/geocode/regeo?output=json&location=%s,%s&key=%s&radius=1000&extensions=base',
    'getAreaByName'     => "https://restapi.amap.com/v3/config/district",    //根据名字获得行政区域
    'getAreaListByName'     => "https://restapi.amap.com/v5/place/text",    //根据地址获得地址列表
    'getReginDetailByLatLng' => "https://restapi.amap.com/v3/geocode/regeo?output=json&location=%s,%s&key=%s&radius=1&extensions=all&roadlevel=1"
];
